'use strict'

class useapps{

    constructor (mdb) {
        this.db = mdb
    }

    async get(id){
        let sql =  `select name,ename from appFeatures where appname='${id}'`
        let r = await this.db.query(sql);
        return r.rows;
    }
}

module.exports = useapps